package com.csun.cmny.provider.model.domain;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "cn_omc_app_user_building_bind")
public class OmcAppUserBuildingBind {
    /**
     * 用户ID
     */
    @Id
    @Column(name = "user_id")
    private Long userId;

    /**
     * 楼栋ID
     */
    @Column(name = "building_id")
    private Long buildingId;

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取楼栋ID
     *
     * @return building_id - 楼栋ID
     */
    public Long getBuildingId() {
        return buildingId;
    }

    /**
     * 设置楼栋ID
     *
     * @param buildingId 楼栋ID
     */
    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }
}